package com.amigo.online.provider.adv.entity;

import javax.persistence.Column;
import javax.persistence.Table;

@Table(name = "adv_tantan_look_record_tbl")
public class AdvTantanLookRecord extends BasicEntity {

    /**
     * @Fields serialVersionUID : (用一句话描述这个变量表示什么)
     */
    private static final long serialVersionUID = -3239830606068889243L;

    @Column(name = "adv_id")
    private long advId;

    @Column(name = "user_id")
    private Long userId;

    @Column(name = "device_id")
    private String device;

    private String sex;

    private Long age;

    private Double lng;

    private Double lat;

    private String city;

    public long getAdvId() {
        return advId;
    }

    public void setAdvId(long advId) {
        this.advId = advId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getDevice() {
        return device;
    }

    public void setDevice(String device) {
        this.device = device;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Long getAge() {
        return age;
    }

    public void setAge(Long age) {
        this.age = age;
    }

    public Double getLng() {
        return lng;
    }

    public void setLng(Double lng) {
        this.lng = lng;
    }

    public Double getLat() {
        return lat;
    }

    public void setLat(Double lat) {
        this.lat = lat;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public AdvTantanLookRecord(long advId, Long userId, String device) {
        super();
        this.advId = advId;
        this.device = device;
        this.userId = userId;
    }

    public AdvTantanLookRecord(long advId, String sex, Long age, Double lng, Double lat, String city) {
        super();
        this.advId = advId;
        this.sex = sex;
        this.age = age;
        this.lng = lng;
        this.lat = lat;
        this.city = city;
    }

    @Override
    public String toString() {
        return "AdvTantanLookRecord [advId=" + advId + ", userId=" + userId + ", device=" + device + ", sex=" + sex
                + ", age=" + age + ", lng=" + lng + ", lat=" + lat + ", city=" + city + ", getId()=" + getId()
                + ", getDeleted()=" + getDeleted() + ", getCreatedTime()=" + getCreatedTime() + ", getDeletedTime()="
                + getDeletedTime() + ", getUpdatedTime()=" + getUpdatedTime() + "]";
    }


}
